banner

SNAP - 04: Duplicating, Tips, Sharing and Other Basics

OPENING QUESTIONS: Create a very simple program that:

1) Asks the user to type in a number from 1 - 3

2) uses an "If" branch to compare the person's age such that:

  • Report back what the user typed

 

OBJECTIVE:  I will continue working on a SNAP program to draw different shapes by duplicating sections of existing code during today's class

WORD FOR TODAY:

TIPS O' THE DAY

1) ALWAYS have a 'clear' button ( ) on hand... it makes clearing the screen much easier than having to hunt for it.

2) You can also 'delete' a script by dragging it off the scripting area

3) If you know the name of a block but can't remember where it is, use the ALWAYS helpful ctrl-F key (that works on website's AND pdf documents by the way)

4) How can you *duplicate* a script or part of a script (this will be VERY helpful in today's lab)

5) Always a good idea to have an x 'go to 0' and a y 'go to 0' to re-center your sprite if it get's lost

6) Right Mouse click on the stage and select 'show all' to bring sprite(s) back

WORK O' THE DAY

HERE is a very basic branch program

Notice the "wait" block